#include"list.h"
int main(){
	int i;
	struct List list=create(1);
	Print(list);
	for(i=1; i<=5; i++)insertbefore(&list, positionend(list), i);
	Print(list);
	position pos = locateelem(list, 3);
	if(pos != positionend(list))Delete(&list, pos);
	insertbefore(&list,positionbegin(list), 8);
	Print(list);
	destroy(&list);
	
	return 0;
}
